<%@ page language="java" contentType="text/html; charset=UTF-8"   pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
 <base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="css/header.css"  rel="stylesheet" type="text/css" charset="utf-8" />
<link rel="stylesheet" href="css/backToTop.css" type="text/css" />
<title>巨石汇 - 最新上传的石材</title>
</head>

<body>
<jsp:include page="/pages/header.jsp"></jsp:include>
<div class="clear"></div>
<style>
	.col-main {width:760px;float:left;margin-right:10px;}
	.col-sub{width:190px;float:left;}
	.box{margin-bottom:12px;}
	.col-main .box.list .hd{height:36px;width:760px; background:url(images/list_hd_bd.gif) no-repeat #FFF;}
	.col-main .box.list .hd span{display:block;height:24px;margin:8px 6px auto 6px;line-height:24px;}
	.col-main .box.list .hd .prev,.col-main .box.list .hd .next,.col-main .box.list .hd .shangchuan,.col-main .box.list .hd .liulan{width:54px; background:url(images/paixu_button_bg.png) no-repeat; text-align:center;padding:0px 20px 0px 6px; }
	.col-main .box.list .hd .shangchuan.on,.col-main .box.list .hd .liulan.on{ background-position:0 -29px;}
	.col-main .box.list .hd .prev,.col-main .box.list .hd .next{padding:0;width:22px;height:22px;}
	.col-main .box.list .hd .next.dead{background-position:0 -59px;}
	.col-main .box.list .hd .prev.dead{background-position:-23px -59px;}
	.col-main .box.list .hd .next{background-position:0 -86px;}
	.col-main .box.list .hd .prev{background-position:-23px -86px;}
	
	.col-main .bd ul{margin-top:10px;}
	.col-main .box.list .bd ul li{width:170px;height:200px; text-align:center;float:left;margin-left:10px;margin-right:10px;_margin-left:5px;}
	.col-main .box.list .bd ul li a{display:block;margin-bottom:7px;width:168px; text-align:left;margin-left:3px;}
	.col-main .box.list .bd ul li a.image{width:160px;padding:1px;border:1px solid #CCC;}
	.col-main .bd ul li a.image:hover{ border-color:#FF6600}
	
	.common.box{border:1px solid #CCC;border-top:0px;padding-bottom:10px;}
	.common .hd{background:url(images/common_hd_bg.png) bottom repeat-x; height:32px; border-bottom:1px solid #EAEAEA;line-height:32px;padding-left:10px;}
	.common .bd ul li{height:150px;width:130px;margin-left:10px;margin-right:10px;_margin-left:5px;}
	.common .bd ul li a{display:block;margin-bottom:7px;width:128px; text-align:center;margin-left:3px}
	.common .bd ul li a.image{width:120px;padding:1px;border:1px solid #CCC;height:120px;position:relative;overflow:hidden;}
	.comom2 li{margin-top:15px;}
</style>

<div class="grid-m div">
	<div class="col-main">
    	<div class="list box" style="border:0">
        	<div class="hd">
            	<span class="gray fl">排序方式</span>
              <span class="shangchuan fl gray on">最新上传</span>
                 <a href="stone/showVisitMostStone.action?pageno=1"><span class="liulan gray fl">浏览最多</span></a>
                <a href="stone/showNewUploadStone.action?pageno=${currentpageno+1}&totalpageno=${totalpageno}"><span class="prev fr"></span></a>
                <span class="cont fr gray">${currentpageno}/${page.totalPages}</span>
                <a href="stone/showNewUploadStone.action?pageno=${currentpageno-1}&totalpageno=${totalpageno}"><span class="next fr"></span></a>
            </div>
            <div class="bd">
            	<ul>
            		<c:forEach items="${page.list}" var="stone">
                	<li>
                    	<a href="stone/toStoneCompany.action?stoneId=${stone.id}" class="image">
                        	<img src="upload/stone/160/${stone.defaultPhoto}"  height="160" width="160"/>
                        </a>
                        <a href="stone/toStoneCompany.action?stoneId=${stone.id}">
                        	<b class="blod yellow">石材名称：</b><span class="gray">${stone.chineseName}</span>
                        </a>
                    </li>
                    </c:forEach>
                </ul>
            </div>
        </div>
        <div class="clear"></div>
    </div>
    	<jsp:include page="righter.jsp"></jsp:include>
</div>
<script type="text/javascript" src="js/jquery-1.7.1.js"></script>
<script type="text/javascript" src="js/backToTop.js"></script>
<div class="clear"></div>
<div class="grid-m foot">
	<p>Copyright&copy; 版权所有2011-2012 巨石汇中心 主办单位：巨石汇</p>
</div>
</body>
</html>
